package com.jiming.webrpc;


public class RpcResult {
	private RpcResultStatus status;
	
	private Msg msg;
	
	private String error;//错误的信息
	
	
	public String getError() {
		return error;
	}
	public RpcResult setError(String error) {
		this.error = error;
		return this;
	}
	
	public RpcResultStatus getStatus() {
		return status;
	}


	public RpcResult setStatus(RpcResultStatus status) {
		this.status = status;
		return this;
	}


	public Msg getMsg() {
		return msg;
	}


	public RpcResult setMsg(Msg msg) {
		this.msg = msg;
		return this;
	}


	public static RpcResult newBuiled(){
		return new RpcResult();
	}
	
	public RpcResult builed(){
		return this;
	}
	
}
